From 2709e836c76db5d1f1f77195eaf94e7b339086be Mon Sep 17 00:00:00 2001 From: Abhishek Chanda Date: Mon, 10 Aug 2015 18:15:41 -0700 Subject: [PATCH] Do not print extra newlines on error Closes #1878 --- src/cargo/ops/registry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/registry.rs b/src/cargo/ops/registry.rs index bcc9f3a14..ee2e78f52 100644 --- a/src/cargo/ops/registry.rs +++ b/src/cargo/ops/registry.rs @@ -278,7 +278,7 @@ pub fn modify_owners(config: &Config, opts: &OwnersOptions) -> CargoResult<()> { match opts.to_add { Some(ref v) => { let v = v.iter().map(|s| &s[..]).collect::>(); - try!(config.shell().status("Owner", format!("adding `{:#?}` to `{}`", + try!(config.shell().status("Owner", format!("adding `{:?}` to `{}`", v, name))); try!(registry.add_owners(&name, &v).map_err(|e| { human(format!("failed to add owners: {}", e)) -- 2.30.2